<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
 
<!DOCTYPE html>
<html>
<head>
<base href="<%=request.getContextPath()%>/"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/JavaScript" src="ckeditor/ckeditor.js"></script>
<title>Insert title here</title>
</head>
<body>
	<form action="blog/add" method="post" >
		内容：<textarea id="blogText" name="blogContent" class="ckeditor"></textarea><br/>
		<input type="submit" value="提交"/><br/>
	</form>
</body>
</html>
<script type="text/javascript">
CKEDITOR.replace('blogText', {
	"filebrowserUploadUrl" : "<%=request.getContextPath()%>/upload"
	});
</script>